package com.example.ben.alltest;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.example.ben.alltest.R;

/**
 * Created by Ben on 2016/12/19.
 */

public class IdeaReturn  extends AppCompatActivity {
    private TextView QX;
    private EditText ideaTReturn;
    private Button IdeaSend;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ideareturn);
        InitView();
        //取消控件
        QX.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });

        //提交控件
        ideaTReturn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

            }
        });

    }
    //初始化控件
    public void InitView(){
        QX=(TextView)findViewById(R.id.QX);
        ideaTReturn=(EditText)findViewById(R.id.ideaTReturn);
        IdeaSend=(Button)findViewById(R.id.IdeaSend);
    }

    //发送消息方法
    public void SendInfo(){

    }
}
